@import '../index.scss';
.box{
    margin: 10px;
    width: 200px;
    /* height: 270px; */
    background-color:#fcf5f5;
    padding: 20px;
    .imgbox{
        .img{
            width: 192px;
            height: 192px;
        }
    }
    .title{
        @include ellipsisMixin(1)
    }
    .pricebox{
        // display: flex;
        // align-items: center;
        @include flexBox('around');
        width: 200px;
        /* 强制转换成一行显示 */
        white-space: nowrap;
        /* 去除超出盒子的文本 */
        overflow: hidden;
        /* 省略超出盒子的文本 */
        text-overflow: ellipsis;
        .yhj{
            background-color: $primary_color;
            color: white;
            font-size: 12px;
            padding: 3px;
            border-radius: 5px;
        }
        .price-2{
            font-size: 18px;
            font-weight: bold;
            color: $primary_color;
        }
        .price-1{
            color: #ccc;
            text-decoration: line-through;
            font-size: 10px;
        }
    }
    .sales{
        line-height: 32px;
    } 
}



